import { createRouter, createWebHistory } from 'vue-router'
import Home from './components/Home.vue'
import Content from './components/Content.vue'


const router = createRouter({
    mode: 'history',
    history: createWebHistory('/'),
    routes: [
        {
            path:'/',
            component:Home
        },
        {
            path:'/content/:type',
            component:Content
        }
    ]
})

export default router